import { createRouter, createWebHistory } from 'vue-router'
import HomeView from '../views/HomeView.vue'

const routes = [
  {
    path: '/',
    name: 'home',
    component: HomeView
  },{
    path: '/yxjs',
    component: () =>import('../views/yxjsView.vue')
  },{
    path: '/wzyyt',
    component: () =>import('../views/wzyytView.vue')
  },{
    path: '/yxgl',
    component: () =>import('../views/yxglView.vue')
  },{
    path: '/djhj',
    component: () =>import('../views/djhjView.vue')
  },{
    path: '/yxbz',
    component: () =>import('../views/yxbzView.vue')
  }
]

const router = createRouter({
  history: createWebHistory(process.env.BASE_URL),
  routes
})

export default router
